package com.jinbaoty.recyclebins.command;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommandParam {

    public static final int RETURN_VOID = 0;
    public static final int RETURN_OPTION = 1;
    public static final int RETURN_FORCE=2;
    public static final int WAITING_NO = -1;
    public static final int WAITING_LOOP = 0;
    public static final int WAITING_OK = 1;
    public static final int WAITING_END = 2;
    public static final int WAITING_TAG = 0x7f;
    private byte commandVal;
    private String commandName;
    private int writeGap;
    private int  readTimeout=1000;
    private int returnType;
    private String successVal;
    private String successMsg;
    private String errorMsg;
    private String commandTag;
    private int readRepeat;
    private int writeRepeat;

}
